import { localUrl, baseUrl, grayUrl } from './config';
import { HTTP } from './apiAuth';
// 接种单位基本信息查询接口
const vaccinationQuery = function (jsonParam: any): Promise<any> {
    let requestUrl = `${baseUrl}/interfaces/inoculation/vaccinationQuery.do`;
    let data = {
        jsonParam,
        isEncrypted: 0,
    }
    return HTTP.post(requestUrl, data);
};
// 接种单位列表查询接口
const vaccinationCenterList = function (jsonParam: any): Promise<any> {
    let requestUrl = `${baseUrl}/interface/yfjz/vaccinationCenterList.do`;
    let data = {
        jsonParam,
        isEncrypted: 0,
    }
    return HTTP.post(requestUrl, data);
};
export { vaccinationQuery, vaccinationCenterList };